namespace Pdf
{
    inline Object::Object() : refCount(0)
    {
    }

    inline Object::~Object()
    {
    }

	inline void Object::addref()
    {
        ++refCount;
    }

	inline void Object::release()
    {
        if ( --refCount <= 0 )
            delete this;
    }
}